package holiday_demo;

import java.util.Random;

public class Random_text {
    public static void main(String[] args)throws Exception{
        Random r=new Random();
        for (int i = 0; i < 20; i++) {
            int num=r.nextInt(10);
            System.out.println(num+1);
        }
    }
}
